import _00SetFunc as ss
import __00SetRelation as sr

#实现关系逆运算
Xm,Ym,n=30,20,15 
X=set(range(Xm))
Y=set(range(Ym))
R=sr.createrelation(X,Y,n)
Rv=sr.inverse(R)
ss.drawgraph(Rv)
print("R",R)
print("Rv",Rv)